package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单退款申请
 * </p>
 *
 * @author LBX
 * @since 2024-08-05
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_order_refund_apply")
@ApiModel(value = "JaOrderRefundApply对象", description = "订单退款申请")
public class JaOrderRefundApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("订单id")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty("用户id")
    @TableField("member_id")
    private Integer memberId;

    @ApiModelProperty("退款状态 0待审核 1通过 2拒绝")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("退款编号")
    @TableField("refund_num")
    private String refundNum;

    @ApiModelProperty("退款次数")
    @TableField("refund_count")
    private String refundCount;

    @ApiModelProperty("退款原因")
    @TableField("refund_reason")
    private String refundReason;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("拒绝原因")
    @TableField("refuse_reason")
    private String refuseReason;

    @ApiModelProperty("退款金额")
    @TableField("refund_amount")
    private BigDecimal refundAmount;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新日期")
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private String updateTime;


}
